import { createStore } from 'vuex'

import getters from './getters'
import user from './module/user'
import permission from './module/permission'
import app from './module/app'

const store = createStore({
  modules: {
    user,
    permission,
    app
  },
  getters
})

export default store
